# Template file for 'kmail'
pkgname=kmail
version=23.08.5
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules python3 qt5-host-tools qt5-qmake
 gettext kcmutils kdoctools kconfig kcoreaddons"
makedepends="kcalutils-devel knotifyconfig-devel kontactinterface-devel
 kparts-devel ktnef-devel libkleo-devel libksieve-devel mailcommon-devel
 messagelib-devel qt5-location-devel qt5-webchannel-devel qt5-webengine-devel"
depends="kdepim-runtime kmail-account-wizard mariadb akonadi-import-wizard
 pim-data-exporter"
short_desc="KDE Mail Client"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.1-or-later, GFDL-1.2-or-later"
homepage="https://kde.org/applications/en/internet/org.kde.kmail2"
distfiles="${KDE_SITE}/release-service/${version}/src/kmail-${version}.tar.xz"
checksum=7138ac647b82208c2d93f142ca1bac2cd080c2bd9a81145d1dbd0471ba2ab755

do_check() {
	broken="akonadi-sqlite-kmcomposerwintest"
	broken+="|akonadi-sqlite-tagselectdialogtest"
	broken+="|akonadi-sqlite-kmcommandstest"
	broken+="|akonadi-sqlite-unifiedmailboxmanagertest"
	ctest -E "($broken)"
}
