cask :v1 => 'usb-overdrive' do
  if MacOS.release < :mountain_lion
    version '3.0.2'
    sha256 'd6bed831521a5ab2b82d7eede7be46953e1c010cc6e02ff11f3dd2532d7b0b13'
  else
    version '3.1'
    sha256 '1a93082f1a2236bca088372c54b1933b3e491c3a986a1f13f78b59fda0c40fa2'
  end

  # senlick.com is the official download host per the vendor homepage
  url "http://www.senlick.com/macsw/USB-Overdrive-#{version.delete('.')}.dmg"
  name 'USB Overdrive'
  homepage 'http://www.usboverdrive.com/'
  license :unknown    # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder

  pkg 'Install USB Overdrive.pkg'

  uninstall :pkgutil => 'com.usboverdrive.installer'
end

cask :v1 => 'usb-overdrive' do
  if MacOS.release < :mountain_lion
    version '3.0.2'
    sha256 'd6bed831521a5ab2b82d7eede7be46953e1c010cc6e02ff11f3dd2532d7b0b13'
  else
    version '3.2'
    sha256 '5be1d46596f1e98e29a5634655f36fc3070ac08542c36cef77d8f516c883f6d7'
  end

  # senlick.com is the official download host per the vendor homepage
  url "http://www.senlick.com/macsw/USB-Overdrive-#{version.delete('.')}.dmg"
  name 'USB Overdrive'
  homepage 'http://www.usboverdrive.com/'
  license :unknown    # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder

  pkg 'Install USB Overdrive.pkg'

  uninstall :pkgutil => 'com.usboverdrive.installer'
end

Update USB Overdrive to 3.2
Update USB Overdrive to 3.2
