# Template file for 'peek'
pkgname=peek
version=1.5.1
revision=3
build_style=meson
hostmakedepends="glib-devel libxml2 gettext pkg-config txt2man vala"
makedepends="gtk+3-devel libkeybinder3-devel"
depends="gsettings-desktop-schemas ffmpeg"
short_desc="Simple animated GIF screen recorder with an easy to use interface"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="GPL-3.0-or-later"
homepage="https://github.com/phw/peek"
distfiles="https://github.com/phw/peek/archive/${version}.tar.gz"
checksum=d2b52297d3941db2f10ad4dd00a6d5606728c0fee6af5f1594a036f88e478237

post_install() {
	# Manual page is actually compressed; make sure the post-install hook finds it
	mv ${DESTDIR}/usr/share/man/man1/peek.{1,1.gz}
}
