# Template file for 'kdepimlibs'
pkgname=kdepimlibs
version=4.13.3
revision=1
short_desc="KDE PIM Libraries"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL, LGPL, FDL"
homepage="https://projects.kde.org/projects/kde/kdepimlibs"
distfiles="http://download.kde.org/stable/${version}/src/${pkgname}-${version}.tar.xz"
checksum=5ed6907c3bfd4e74de185145385405a2b55bcf5f41ffcb2b56dbda41cc857adb

build_style=cmake
configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF"

hostmakedepends="cmake automoc4 pkg-config"
makedepends="boost-devel gpgme-devel qjson-devel libical-devel
 kdelibs-devel>=${version} phonon-devel libxslt-devel libldap-devel
 akonadi-devel>=1.12.1 shared-mime-info"
depends="cyrus-sasl shared-mime-info"

kdepimlibs-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove usr/lib/gpgmepp
	}
}
