My fuel pump died like that. You can easily check if it is a fuel pump by spraying carb cleaner or something inflammable into the intake while somebody else is engaging the starter.
In my case mechanic sprayed something called "Rapid Start".