# Template file for 'libXcursor'
pkgname=libXcursor
version=1.2.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libXfixes-devel libXrender-devel"
short_desc="Client-side cursor loading library for X"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://wiki.freedesktop.org/xorg/"
distfiles="${XORG_SITE}/lib/libXcursor-${version}.tar.bz2"
checksum=3ad3e9f8251094af6fe8cb4afcf63e28df504d46bfa5a5529db74a505d628782

post_install() {
	vlicense COPYING
}

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