# Contributor: yaroslav <proninyaroslav@mail.ru>
# Contributor: Askhat Bakarov <sirocco{at}ngs{dot}ru>

pkgname=android-file-transfer
pkgver=3.9
pkgrel=1
pkgdesc='Android MTP client with minimalistic UI'
arch=(x86_64)
url='https://github.com/whoozle/android-file-transfer-linux'
license=(GPL3)
depends=(qt5-base fuse2 libxkbcommon-x11 hicolor-icon-theme file)
makedepends=(cmake)
source=(android-file-transfer-$pkgver.tar.gz::https://github.com/whoozle/android-file-transfer-linux/archive/v$pkgver.tar.gz)
sha256sums=('26aa21683ae34aceaf83747fec693a15b996017a857014931ef3c5b50115971a')

build() {
  cd android-file-transfer-linux-$pkgver
  cmake -DCMAKE_INSTALL_PREFIX=/usr .
  make
}

package() {
  cd android-file-transfer-linux-$pkgver
  make DESTDIR="$pkgdir/" install
}
