# Template file for 'akonadi'
pkgname=akonadi
version=1.13.0
revision=4
build_style=cmake
configure_args="-DAKONADI_BUILD_TESTS=OFF -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE -DDATABASE_BACKEND=SQLITE -DWITH_SOPRANO=OFF"
hostmakedepends="cmake automoc4 pkg-config libxslt"
makedepends="shared-mime-info sqlite-devel boost-devel qt-devel phonon-devel"
depends="shared-mime-info"
short_desc="PIM layer providing an asynchronous API to access all kinds of PIM data"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://community.kde.org/KDE_PIM/Akonadi"
distfiles="http://download.kde.org/stable/${pkgname}/src/${pkgname}-${version}.tar.bz2"
checksum=8c7f690002ea22c139f3a64394aef2e816e00ca47fd971af7d54a66087356dd2

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