# Template build file for 'libXau'.
pkgname=libXau
version=1.0.8
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto"
short_desc="Authorization Protocol for X"
homepage="$XORG_SITE"
license="MIT"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=fdd477320aeb5cdd67272838722d6b7d544887dfe7de46e1e7cc0c27c2bea4f2

post_install() {
	vlicense COPYING
}

libXau-devel_package() {
	depends="xorgproto ${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/*.a
		vmove usr/lib/*.so
		vmove usr/share/man/man3
	}
}
