# Template file for 'evolution'
pkgname=evolution
version=3.52.0
revision=1
build_style=cmake
build_helper="qemu"
configure_args="-DSYSCONF_INSTALL_DIR=/etc
 -DENABLE_AUTOAR=OFF -DENABLE_LIBCRYPTUI=OFF -DENABLE_GTKSPELL=OFF
 -DENABLE_TEXT_HIGHLIGHT=OFF -DENABLE_PST_IMPORT=OFF
 -DENABLE_WEATHER=ON -DWITH_ENCHANT_VERSION=2"
hostmakedepends="intltool itstool pkg-config glib-devel"
makedepends="NetworkManager-devel clutter-gtk-devel enchant2-devel
 evolution-data-server-devel gspell-devel libcanberra-devel
 libgweather-devel libnotify-devel libwebkit2gtk41-devel ytnef-devel
 gnome-desktop-devel libsoup3-devel cmark-devel"
depends="gnome-keyring"
short_desc="Integrated mail, addressbook and calendaring for GNOME"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2.1-or-later, LGPL-3.0-or-later, GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Evolution"
changelog="https://gitlab.gnome.org/GNOME/evolution/-/raw/gnome-46/NEWS"
distfiles="${GNOME_SITE}/evolution/${version%.*}/evolution-${version}.tar.xz"
checksum=5ef708d7c0e40582e271b30e2a07625b648c32c6340cb5488df44177c7c946a9
shlib_provides="libevolution-calendar.so libevolution-util.so libemail-engine.so
 libevolution-mail.so libevolution-shell.so libevolution-mail-formatter.so
 libevolution-mail-composer.so"

evolution-devel_package() {
	depends="libwebkit2gtk41-devel gtk+3-devel libglib-devel evolution-data-server-devel
	 ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}
