# Maintainer:
pkgname=iceauth
pkgver=1.0.8
pkgrel=0
pkgdesc="X.Org ICE authority file utility"
url="https://www.X.org/"
arch="all"
license="MIT"
depends=""
makedepends="libice-dev util-macros"
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/app/iceauth-$pkgver.tar.bz2"

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

check() {
	make check
}

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

sha512sums="9d4520adf951b16a3e784349dbb70d5d8176b74b956f8adc63abf55d049745c113b03ccfa60a281fc39b487db3742302dc6287c9985ce83a0157bf4674df2af1  iceauth-1.0.8.tar.bz2"