Sunwait is a small program for calculating sunrise,
sunset, civil twilight, nautical twilight, and astronomical
twilight. It has options to wait until some time-offset from
one of these events, making it useful for home
automation tasks that should happen relative to the sun's
position.