# Template file for 'libdvdcss'
pkgname=libdvdcss
version=1.4.0
revision=1
build_style=gnu-configure
short_desc="Simple library designed for accessing DVDs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://www.videolan.org/developers/libdvdcss.html"
distfiles="https://download.videolan.org/pub/${pkgname}/${version}/${pkgname}-${version}.tar.bz2"
checksum=2089375984800df29a4817b37f3123c1706723342d6dab4d0a8b75c25c2c845a

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