#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=xfce4-dict
pkgver=0.8.6
_mainver=`echo $pkgver | cut -d'.' -f1,2`
pkgrel=1gv
source=("http://archive.xfce.org/src/apps/$pkgname/${_mainver}/${pkgname}-${pkgver}.tar.bz2")
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-dictionary (Xfce dictionary)"
"Xfce4 Dictionary is written by Enrico Tröger, and is a client program"
"to query different dictionaries. It can query a Dict server(RFC 2229),"
"open online dictionaries in a web browser or verify the spelling of a"
"word using aspell or ispell. It contains a stand-alone application and"
"a plugin for the Xfce panel."
)

build() {
	cd $startdir/src/$pkgname-$pkgver
	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--build=$arch-slackware-linux
	make -j $numjobs || return 1
	make install DESTDIR=$startdir/pkg
}