Hamas, as I see it, finally has a chance to become a real civil government with real authority while at the same time not looking like they are capitulating to Israel. According to the BBC, in negotiations for a cease fire, Israel is demanding and end to rocket attacks and the disarmament of Hamas, while Hamas is demanding withdrawal from Gaza and an end to the blockade. Quite luckily, these things (for once) are not mutually exclusive. Here´s how I invision Hamas spinning it in an ideal world where they actually wanted to become the peaceful leadership of Gaza:
“We fought the good fight, suffered great sacrifice even among our senior leadership, but finally the Israelis were killing too many innocent people for us to justify continuing. So, we agreed to stop attacking them if they lifted the blockade that has stifled our economy and kept us in poverty. Seeing the brutality of Israeli retaliation, we are hereby going to halt rocket attacks as long as Israel upholds their end of the bargain, and will accordingly harshly punish those who continue to attack Israeli civilians, in order to disassociate the people of Gaza from their provocative actions and protect our innocent people.
If Hamas were willing to take that position, which they may well be, Israel would be foolish not to offer them a lift in the blockade as reward for their change of heart.
As a side note though, who is Israel negotiating with if they keep killing the top Hamas leadership? (Same link as above for that story).