The x11/unclutter port doesn't work very well anymore, so I wrote
xbanish.
https://github.com/jcs/xbanish
(the cool kids still use shar, right?)
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# x11/xbanish
# x11/xbanish/Makefile
# x11/xbanish/distinfo
# x11/xbanish/pkg
# x11/xbanish/pkg/DESCR
# x11/xbanish/pkg/PLIST
#
echo c - x11/xbanish
mkdir -p x11/xbanish > /dev/null 2>&1
echo x - x11/xbanish/Makefile
sed 's/^X//' >x11/xbanish/Makefile << 'END-of-x11/xbanish/Makefile'
X# $OpenBSD$
X
XCOMMENT= utility to automatically hide X11 cursor when typing
X
XV= 1.0
XDISTNAME= v${V}
XPKGNAME= xbanish-${V}
X
XCATEGORIES= x11
XHOMEPAGE= https://github.com/jcs/xbanish
X
XMAINTAINER= joshua stein <[email protected]>
X
XMASTER_SITES= ${HOMEPAGE}/archive/
X
X# BSD
XPERMIT_PACKAGE_CDROM= Yes
XPERMIT_PACKAGE_FTP= Yes
XPERMIT_DISTFILES_FTP= Yes
X
XWANTLIB= X11 Xfixes c
X
XFAKE_FLAGS= DESTDIR=
X
XNO_TEST= Yes
X
XWRKDIST= ${WRKDIR}/${PKGNAME}
X
X.include <bsd.port.mk>
END-of-x11/xbanish/Makefile
echo x - x11/xbanish/distinfo
sed 's/^X//' >x11/xbanish/distinfo << 'END-of-x11/xbanish/distinfo'
XSHA256 (v1.0.tar.gz) = TC6d1dfZLmKnoZiqOCCUMbyqj8rstz6Gw1Evd8pmXSk=
XSIZE (v1.0.tar.gz) = 3545
END-of-x11/xbanish/distinfo
echo c - x11/xbanish/pkg
mkdir -p x11/xbanish/pkg > /dev/null 2>&1
echo x - x11/xbanish/pkg/DESCR
sed 's/^X//' >x11/xbanish/pkg/DESCR << 'END-of-x11/xbanish/pkg/DESCR'
Xxbanish is a small utility to automatically hide the mouse cursor
Xwhen typing and show it again when the mouse is moved.
END-of-x11/xbanish/pkg/DESCR
echo x - x11/xbanish/pkg/PLIST
sed 's/^X//' >x11/xbanish/pkg/PLIST << 'END-of-x11/xbanish/pkg/PLIST'
X@comment $OpenBSD$
X@bin bin/xbanish
END-of-x11/xbanish/pkg/PLIST
exit