cask :v1 => 'moneyplex' do
  version :latest
  sha256 :no_check

  # matrica.com is the official download host per the vendor homepage
  url 'http://www.matrica.com/download/mac/moneyplex.dmg'
  homepage 'http://www.matrica.de/'
  license :unknown    # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder

  pkg 'moneyplex.pkg', :allow_untrusted => true

  uninstall :pkgutil => 'de.matrica.moneyplex.Moneyplex.pkg'
end
