use curl instead of wget

As curl is used by pacman, this removes the need to install wget as a dependency.