# Depends on : boost kf5-extra-cmake-modules kf5-kdoctools kf5-kdesignerplugin akonadi-import-wizard kdepim-runtime kmail-account-wizard kontactinterface mbox-importer pim-sieve-editor pim-storage-service-manager kf5-knotifyconfig ktnef

description="KDE mail client"
url="https://projects.kde.org/kmail"
packager="pierre at nutyx dot org"

name=kmail
version=16.12.3
release=1

source=(http://download.kde.org/stable/applications/$version/src/$name-$version.tar.xz)

build() {
  mkdir -p build
  cd build
  cmake ../$name-$version \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DBUILD_TESTING=OFF \
    -Wno-dev
  make
  make DESTDIR=$PKG install
}
