The Hamas-led government has been boycotted by major countries the world over for failing to renounce violence, recognise Israel and accept past peace deals signed by previous Palestinian governments.