# Contributor: Horst Burkhardt <horst@adelielinux.org>
# Maintainer: Horst Burkhardt <horst@adelielinux.org>
pkgname=xabacus
pkgver=8.2.4
pkgrel=0
pkgdesc="Simple X11 abacus widget"
url="http://www.sillycycle.com/abacus.html"
arch="all !s390x"
options="!check"  # xabacus does not ship a test suite
license="MIT"
depends=""
makedepends="libx11-dev libxpm-dev libxt-dev libxml2-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.bz2::http://www.sillycycle.com/abacus/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--prefix=/usr
	make
}

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

sha512sums="6a65e36c678cbb39d95932da265d40c61afb21eccc87264e07e80fb98b75c4e4a4777ee2bce458eb2e811b720656732e7c780e61e436287f91df83015c7e58c0  xabacus-8.2.4.tar.bz2"