# Template file for 'shotgun'
pkgname=shotgun
version=2.5.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
short_desc="Minimal screenshot utility for X11"
maintainer="Emil Miler <em@0x45.cz>"
license="MPL-2.0"
homepage="https://github.com/nexromancers/shotgun"
distfiles="https://github.com/neXromancers/shotgun/archive/refs/tags/v${version}.tar.gz"
checksum=862b9d6f1c418181d37375153e3ceadf87b738f5a48fcbd7257e07cd78b622a0

post_extract() {
	rm build.rs
	vsed -i Cargo.toml -e '/^build = "build.rs"/ d'
}

post_install() {
	vdoc README.md
	vlicense LICENSE
}
