# Maintainer: Mark Tyler <mt@marktyler.org>
pkgname=mtnush-qt6
pkgver
pkgrel=@MT_RELVER@
pkgdesc="Qt6 Big Number Calculator"
arch=('i686' 'x86_64' 'arm')
license=('GPL3')
depends=('libmtkit' 'libmtcelledit' 'libmtdatawell' 'qt6-base' 'libmtqex6' 'gmp' 'mpfr')
install=mtnush_desktop.install
source=($pkgname-$pkgver.tar.gz)
md5sums

build() {
  cd "$srcdir/$pkgname-$pkgver"

  @MT_CONF@ --use-qt6
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}
