cask :v1 => 'actual-odbc-pack' do
  version :latest
  sha256 :no_check

  # cachefly.net is the official download host per the vendor homepage
  url 'http://actualtechnologies.cachefly.net/Actual_ODBC_Pack.dmg'
  name 'Actual ODBC Driver Pack'
  name 'Actual ODBC Drivers'
  homepage 'http://www.actualtech.com/products.php'
  license :commercial

  pkg 'Actual ODBC Pack.pkg'

  uninstall :pkgutil => ['com.actualtechnologies.odbcdriver.*',
                         'com.actualtechnologies.odbcmanager.pkg']
end
