# Template file for 'libdvdcss'
pkgname=libdvdcss
version=1.2.13
revision=2
build_style=gnu-configure
short_desc="Simple library designed for accessing DVDs"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.videolan.org"
distfiles="http://download.videolan.org/pub/$pkgname/$version/$pkgname-$version.tar.bz2"
checksum=84f1bba6cfef1df87f774fceaefc8e73c4cda32e8f6700b224ad0acb5511ba2c
long_desc="
 libdvdcss is a simple library designed for accessing DVDs like a block device
 without having to bother about the decryption."

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

libdvdcss_package() {
	pkg_install() {
		vmove usr
	}
}
