description="Powerful yet simple to use screenshot software"
url="https://github.com/lupoDharkael/flameshot"

packager="tnut <tnut@nutyx.org>"
contributors="Graknu, Greg"

makedepends=(qtsvg make qttools)
run=(hicolor-icon-theme)

name=flameshot
version=0.8.3

PKGMK_KEEP_SOURCES="no"

source=(https://github.com/lupoDharkael/$name/archive/v$version.tar.gz)

build() {
  cd ${name}-${version}
  mkdir build
  cd    build
  cmake -DCMAKE_INSTALL_PREFIX=/usr ..
  make
  make DESTDIR=$PKG install
}
package() {
# In conflict with zsh-completions
rm -rf ${PKG}/usr/share/zsh
}
