SUMMARY="Find your mouse pointer with animated concentric circles"
DESCRIPTION="'Where Is My Mouse' is a little application that draws \
concentric circles around the mouse pointer. This can help finding it \
on the screen, especially when doing a presentations with a projector or \
on a laptop.

Use Haiku's Shortcuts preferences to set a key combination for the tool.

Just run it to see the effect.
To change settings like number of circles, their width and the speed of the \
animation, run it from the Terminal with the "-s" parameter:

WhereIsMyMouse -s

This will open a settings panel to adjust those visuals. You can change the \
color of the circles by drag'n'dropping a color from an app like Colors!, \
Icon-O-Matic or WonderBrush onto the animation preview.
Settings are saved in ~/config/settings/WhereIsMyMouse_settings."
HOMEPAGE="https://github.com/HaikuArchives/WheresMyMouse"
COPYRIGHT="2002 Marcin 'Shard' Konicki"
LICENSE="MIT"
REVISION="2"
srcGitRev="b2a90328bb80ac564a83f23bc53871e4d1c0da3d"
SOURCE_URI="https://github.com/HaikuArchives/WheresMyMouse/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="8b6a98f3a6e31d7ec948d18463fd0a62736b2d18b5928ecf22e3d3b7c8bf0696"
SOURCE_DIR="WheresMyMouse-$srcGitRev"

ARCHITECTURES="all"

PROVIDES="
	whereismymouse = $portVersion
	cmd:WhereIsMyMouse = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	"

BUILD()
{
	cd source
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $binDir
	cd source/objects
	cp -a WhereIsMyMouse $binDir
}
