The flag would be flown at halfmast for three days in mourning for the thousands of people killed in Saturday's killer earthquake, presidential spokesman Karim Rahimi told reporters.