# Template file for 'castor'
pkgname=castor
version=0.9.0
revision=3
build_style=cargo
hostmakedepends="pkg-config"
makedepends="atk-devel pango-devel gdk-pixbuf-devel gtk+3-devel cairo-devel openssl-devel"
short_desc="Graphical client for plain-text protocols written in Rust with GTK"
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
license="MIT"
homepage="https://git.sr.ht/~julienxx/castor"
distfiles="https://git.sr.ht/~julienxx/castor/archive/${version}.tar.gz"
checksum=ed57c92a88e8ebe8db286daad9677ffb99287d164d3193d17f8134bb77de5ae1

post_install() {
	make PREFIX=/usr DESTDIR="${DESTDIR}" copy-data
	vlicense LICENSE
}