# Template file for 'evolution'
pkgname=evolution
version=3.24.5
revision=1
build_style=cmake
configure_args="-DENABLE_AUTOAR=OFF -DENABLE_LIBCRYPTUI=OFF -DENABLE_GTKSPELL=OFF
 -DENABLE_TEXT_HIGHLIGHT=OFF -DENABLE_PST_IMPORT=OFF"
hostmakedepends="pkg-config intltool itstool gnome-doc-utils gobject-introspection"
makedepends="
 libgdata-devel webkit2gtk-devel evolution-data-server-devel
 GConf-devel clutter-gtk-devel libcanberra-devel
 gtkhtml-devel libsoup-gnome-devel gnome-desktop-devel
 libnotify-devel gstreamer1-devel libgweather-devel
 NetworkManager-devel enchant-devel iso-codes ytnef-devel"
depends="gtkhtml>=4.6 gnome-keyring gnome-icon-theme hicolor-icon-theme desktop-file-utils iso-codes"
short_desc="Integrated mail, addressbook and calendaring for GNOME"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://wiki.gnome.org/Apps/Evolution"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=5544c5ea1a1c352e0300bff447ddf67146486fc3a6bbecd1b785d378d34b2189

evolution-devel_package() {
	depends="GConf-devel gtkhtml-devel>=4.6.0 evolution-data-server-devel
	 gnome-desktop-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}
