#Packager:Richard lapointe <richard@laprjns.com>

pkgname=xfce4-dict
pkgver=0.7.0
pkgrel=1rl
#arch=noarch
source=("http://archive.xfce.org/src/apps/$pkgname/0.7/$pkgname-${pkgver}.tar.bz2")
sourcetemplate=http://people.salixos.org/ylaprjns/$pkgname/$pkgver/
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://goodies.xfce.org/projects/applications/ristretto
#dotnew=()
#CFLAGS=
#CXXFLAGS=
#options=('noextract')

#doinst() {
#
#}

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
}