# Maintainer: Luis Henrique <lmello.009@gmail.com>

# Mandatory
pkgname=xfce4-dict
pkgver=0.6.0
pkgrel=1lm
source=("http://archive.xfce.org/src/apps/xfce4-dict/0.6/xfce4-dict-0.6.0.tar.bz2")
# Optional
docs=("AUTHORS" "COPYING" "ChangeLog" "INSTALL" "NEWS" "README" "TODO")
url="http://goodies.xfce.org"
 
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xfce4-dict (dictionary application and panel plugin)"
"This program allows you to search different kinds of dictionary"
"services for words or phrases and shows you the result. Currently you"
"can query a Dict server(RFC 2229), any online dictionary service by"
"opening a web browser or search for words using the aspell/ispell"
"program."
""
"xfce4-dict contains a stand-alone application called “xfce4-dict” and"
"a panel plugin for the Xfce panel."
)

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