# Description: Remote filesystem in userspace using SSH
# URL: https://github.com/libfuse/sshfs 
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: fuse3 glib
# Optional: python3-docutils

name=sshfs-fuse
version=3.7.4a
release=1
source=(https://github.com/deadbeefsociety/sshfs/releases/download/sshfs-$version/sshfs-$version.tar.xz)

build() {
	meson setup build sshfs-$version \
		--prefix=/usr \
		--buildtype=release \
		--wrap-mode nodownload \
		-D b_lto=true \
		-D b_pie=true

	meson compile -C build -j ${JOBS:-1}
	DESTDIR=$PKG meson install -C build
}
