# Template file for 'libXau'
pkgname=libXau
version=1.0.9
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto"
short_desc="Authorization Protocol for X"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="$XORG_SITE"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=ccf8cbf0dbf676faa2ea0a6d64bcc3b6746064722b606c8c52917ed00dcb73ec

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
	}
}
