# Template file for 'libaacs'
pkgname=libaacs
version=0.9.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="maxice8 <thinkabit.ukim@gmail.com>"
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=47e0bdc9c9f0f6146ed7b4cc78ed1527a04a537012cf540cf5211e06a248bace

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