# Template build file for 'libXScrnSaver'.
pkgname=libXScrnSaver
version=1.2.2
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xextproto scrnsaverproto libX11-devel libXext-devel"
short_desc="X11 Screen Saver Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d

libXScrnSaver-devel_package() {
	depends="scrnsaverproto libX11-devel libXext-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
	}
}
