# Template file for 'fuse-sshfs'
pkgname=fuse-sshfs
version=3.7.5
revision=2
build_style=meson
configure_args="--sbindir=bin"
hostmakedepends="pkg-config python3-docutils"
makedepends="fuse3-devel libglib-devel"
depends="openssh"
checkdepends="python3-pytest which"
short_desc="FUSE client based on the SSH File Transfer Protocol"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/libfuse/sshfs"
distfiles="https://github.com/libfuse/sshfs/releases/download/sshfs-${version}/sshfs-${version}.tar.xz"
checksum=0e45db63c2d00919db3174134fa234c6e0682d6fe573c46312d1d53d1d61a8bb

case "${XBPS_TARGET_MACHINE}" in
	i686|armv6l|armv7l)
		CFLAGS="-D_FILE_OFFSET_BITS=64"
esac

do_check() {
	python3 -m pytest
}
