# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=xfce4-dict
pkgver=0.8.3
pkgrel=0
pkgdesc="Dictionary application for the XFCE desktop environment"
url="https://xfce.org"
arch="all"
license="GPL-2.0+"
depends=""
makedepends="intltool glib-dev gtk+3.0-dev libxfce4ui-dev xfce4-panel-dev"
subpackages="$pkgname-doc"
source="http://archive.xfce.org/src/apps/xfce4-dict/0.8/xfce4-dict-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="d4779a928e351c06d8866d1eefcf2efb5f364b64591a76abd19b87ac08905196b436725db3660e694b7071a534ebd9b08f298945a515fcaf335b74ce15eb0617  xfce4-dict-0.8.3.tar.bz2"