# Maintainer: Antonio Rojas <arojas@archlinux.org>

pkgname=communicator
pkgver=2.0.0
pkgrel=3
pkgdesc='Contacts and dialer application'
url='https://mauikit.org/'
arch=(x86_64)
license=(GPL3)
depends=(mauikit-filebrowsing mauikit-texteditor hicolor-icon-theme kpeople kcontacts)
makedepends=(extra-cmake-modules qt5-location)
groups=(maui)
source=(https://download.kde.org/stable/maui/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
sha256sums=('8501b4c53dfbe8b4a99b5af56fafb227e5807859e009a9e80f97eb6790d4d60e')

build() {
  cmake -B build -S $pkgname-$pkgver
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}
