cask :v1 => 'xampp' do
  version '5.6.3-0'
  sha256 '23cd1b990397958b31e5904a340f416aed98b767a868bbcad7be123f53878828'

  # sourceforge.net is the official download host per the vendor homepage
  url "http://downloads.sourceforge.net/project/xampp/XAMPP%20Mac%20OS%20X/#{version.sub(%r{-\d+$},'')}/xampp-osx-#{version}-installer.dmg"
  name 'XAMPP'
  homepage 'http://www.apachefriends.org/'
  license :gpl

  installer :script => 'XAMPP.app/Contents/MacOS/osx-intel',
            :args => [ '--mode', 'unattended' ]

  uninstall :quit => 'com.bitnami.manager',
            :delete => '/Applications/XAMPP/'
end

cask :v1 => 'xampp' do
  version '5.6.3-0'
  sha256 '23cd1b990397958b31e5904a340f416aed98b767a868bbcad7be123f53878828'

  # sourceforge.net is the official download host per the vendor homepage
  url "http://downloads.sourceforge.net/project/xampp/XAMPP%20Mac%20OS%20X/#{version.sub(%r{-\d+$},'')}/xampp-osx-#{version}-installer.dmg"
  name 'XAMPP'
  homepage 'https://www.apachefriends.org/'
  license :gpl

  installer :script => 'XAMPP.app/Contents/MacOS/osx-intel',
            :args => [ '--mode', 'unattended' ]

  uninstall :quit => 'com.bitnami.manager',
            :delete => '/Applications/XAMPP/'
end

Fix homepage to use SSL in XAMPP Cask
Fix homepage to use SSL in XAMPP Cask

The HTTP URL is already getting redirected to HTTPS. Using the HTTPS URL directly
makes it more secure and saves a HTTP round-trip.
