# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xfwp
pkgver=1.0.3
pkgrel=0
pkgdesc="X11 firewall proxy"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libice-dev util-macros xorgproto-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xfwp-$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="493cfff0c90ada372c76f3fc49278bc4b1bf30c013f325d0358d0bd7004144bd540e86dee0fadd0bfbe1c47b91437a61dd7e9ff21d747d75ce9f42750fb17609  xfwp-1.0.3.tar.bz2"