cask :v1 => 'authoxy' do
  version '3.6'
  sha256 '921720e5bd1d7cd9f08e29bee928ea667662ba704f59340280194c8b4649b632'

  url "http://www.hrsoftworks.net/downloads/Authoxy#{version}.dmg"
  name 'Authoxy'
  homepage 'http://www.hrsoftworks.net'
  license :gratis

  pkg 'Authoxy (double click me).pkg'

  uninstall :pkgutil => 'net.hrsoftworks.authoxy.*',
            :delete  => '/tmp/authoxyd.pid'
  zap       :delete   => '~/Library/Preferences/net.hrsoftworks.AuthoxyPref.plist'
end
