# Depends on: gtk3 keybinder3 ffmpeg imagemagick gstreamer-plugins-good gstreamer-plugins-ugly cmake vala txt2man

description="Simple screen recorder with an easy to use interface"
url="https://github.com/phw/peek"
packager="tnut <tnut@nutyx.org>"
contributors="Greg"

name=peek
version=1.3.1

PKGMK_KEEP_SOURCES="no"

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


prepare() {
  mkdir -p build
}

build() {
  cd build
  cmake $SRC/${name}-${version} \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DBUILD_TESTS=ON \
    -DCMAKE_BUILD_TYPE=Release \
    -DGSETTINGS_COMPILE=OFF \
    -DENABLE_FILECHOOSERNATIVE=ON
  make
  make DESTDIR=$PKG install
}
