# Template file for 'gcsf'
pkgname=gcsf
version=0.1.23
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="fuse-devel libressl-devel"
short_desc="FUSE file system based on Google Drive"
maintainer="Benjamín Albiñana <benalb@gmail.com>"
license="MIT"
homepage="https://github.com/harababurel/gcsf"
distfiles="https://github.com/harababurel/gcsf/archive/${version}.tar.gz"
checksum=b91ea72f6cb8e5069a4a0b908bb07eee47d7be4185b90b7649f9d7ae903db211

case "$XBPS_TARGET_MACHINE" in
	aarch64-musl) broken="https://github.com/nix-rust/nix/issues/951" ;;
esac

pre_build() {
	cargo update --package openssl-sys --precise 0.9.40
}

post_install() {
	vlicense LICENSE
}
