# Template build file for 'libical'.
pkgname=libical
version=1.0
revision=1
build_style=cmake
hostmakedepends="cmake perl"
short_desc="Reference implementation of the iCalendar data type and format"
homepage="http://sourceforge.net/projects/freeassociation/"
license="LGPL-2.1, MPL-1"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${SOURCEFORGE_SITE}/freeassociation/$pkgname-$version.tar.gz"
checksum=7c39b3448e4927a2de2775d853f52b3aaeb42400970a3db0b01a78987e6ec0b7

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