# Template file for 'libaacs'
pkgname=libaacs
version=0.11.0
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="flex pkg-config"
makedepends="libgcrypt-devel"
short_desc="Open implementation of AACS specification"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://www.videolan.org/developers/libaacs.html"
distfiles="http://ftp.videolan.org/pub/videolan/libaacs/${version}/libaacs-${version}.tar.bz2"
checksum=6d884381fbb659e2a565eba91e72499778635975e4b3d6fd94ab364a25965387

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