cask :v1 => 'istat-server' do
  version :latest
  sha256 :no_check

  url 'http://download.bjango.com/istatserver/'
  name 'iStat Server'
  homepage 'http://bjango.com/mac/istatserver/'
  license :unknown    # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder

  pkg 'iStat Server.pkg'

  uninstall :script => '/Applications/iStat Server.app/Contents/Resources/Uninstaller',
            :pkgutil => 'com.bjango.istatserver.*'
  caveats do
    reboot
  end
end
