# Description: zooming predictive text entry system
# URL: http://www.inference.phy.cam.ac.uk/dasher
# Maintainer: Matt Housh, jaeger at morpheus dot net
# Depends on: libbonoboui, libgnomeui, at-spi, gnome-vfs, gnome-speech, libwnck
# Group: gnome/desktop

name=dasher
version=4.6.1
release=1
source=(http://download.gnome.org/desktop/2.20/2.20.2/sources/$name-$version.tar.bz2)

build() {
	cd $name-$version
	rm po/*.po
	touch config.rpath
	chmod +x config.rpath
	sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \
		-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
	./configure --prefix=/usr \
		--with-a11y=yes \
		--with-gnome=yes \
		--with-speech=yes \
		--disable-scrollkeeper
	make
	make DESTDIR=$PKG install
}
